<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include} :: header"></head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row">
            <form style="margin: 10px 10px 10px 10px" class="layui-form layui-form-pane" id="signupForm">
                <input id="groupId" name="groupId" th:value="${groupId}" type="hidden">

                <div class="layui-row">
                    <div class="layui-col-xs6" th:each="module:${modules}">
                        <div class="layui-form-item ">
                            <label class="layui-form-label" th:text="${module.name}"></label>
                            <div class="layui-input-block">
                                <input type="checkbox" th:if="${module.isCheck == 1}" checked="" name="open" th:value="${module.id}" lay-skin="switch" lay-filter="switchTest" title="开关">
                                <input type="checkbox" th:if="${module.isCheck == 0}" name="open" th:value="${module.id}" lay-skin="switch" lay-filter="switchTest" title="开关">
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/group/band.js}"></script>
</body>
</html>
